package com.guodi.map.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @描述：地图图层专题表
 * @作者: 代鹏刚
 * @日期: 2019-12-11
 */
@Data
@ApiModel(value="地图图层专题表")
public class ApiMapProject implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "专题名称不能为空")
    @ApiModelProperty(value = "专题名称", required = true)
    private String name;

    @NotBlank(message = "专题编码不能为空")
    @ApiModelProperty(value = "专题编码", required = true)
    private String code;

    // 2021-11-04 去除目录类型，不再区分双评价专题和普通专题，双评价的批量统计由功能参数完成
//    @NotBlank(message = "专题类型不能为空")
//    @ApiModelProperty(value = "专题类型")
//    private String type;

    @ApiModelProperty(value = "专题图标")
    private String icon;

    @NotNull(message = "状态不能为空")
    @ApiModelProperty(value = "状态（1：启用，0：禁用）", required = true)
    private Integer status;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "所属部门ID")
    private String orgId;

    @NotBlank(message = "地图参数ID不能为空")
    @ApiModelProperty(value = "地图参数ID", required = true)
    private String paramId;

    @NotNull(message = "是否默认不能为空")
    @ApiModelProperty(value = "是否默认（1：是，0：否）", required = true)
    private Integer isDefault;

    @ApiModelProperty(value = "备注")
    private String remark;

}
